# 每3天的23:50分清理一次日志(互助码不清理，proc_file.sh对该文件进行了去重)
50 23 */3 * * find /scripts/logs -name '*.log' | grep -v 'sharecodeCollection' | xargs rm -rf
#收集助力码
30 * * * * sh +x /scripts/docker/auto_help.sh collect |ts >> /scripts/logs/auto_help_collect.log 2>&1

##############短期活动##############

#京东极速版红包(活动时间：2021-3-8至2021-3-25)
45 0,23 * * * node /scripts/jd_speed_redpocke.js |ts >> /scripts/logs/jd_speed_redpocke.log 2>&1
#女装盲盒 活动时间：2021-03-22到2021-03-31
35 1,23 * * * node /scripts/jd_nzmh.js |ts >> /scripts/logs/jd_nzmh.log 2>&1
#超级直播间红包雨(活动时间不定期，出现异常提示请忽略。红包雨期间会正常)
30,31 20-23/1 * * * node /scripts/jd_live_redrain.js |ts >> /scripts/logs/jd_live_redrain.log 2>&1
#京东国际盲盒活动时间】2021年02月23日 起至 2021年03月31日 18:00:00
35 7,12,23 * * * node /scripts/jd_global_mh.js |ts >> /scripts/logs/jd_global_mh.log 2>&1
#环球挑战赛 第二季(活动时间：2021-03-08 至 2021-03-31)
5 6,22 * * * node /scripts/jd_global.js |ts >> /scripts/logs/jd_global.log 2>&1

#5G超级盲盒 活动时间：2021-03-19到2021-04-30
10 0,1-23/4 * * * node /scripts/jd_mohe.js |ts >> /scripts/logs/jd_mohe.log 2>&1

##############长期活动##############
# 签到
7 0,17 * * * cd /scripts && node jd_bean_sign.js |ts >> /scripts/logs/jd_bean_sign.log 2>&1
# 东东超市兑换奖品
0,30 0 * * * node /scripts/jd_blueCoin.js |ts >> /scripts/logs/jd_blueCoin.log 2>&1
# 摇京豆
6 0 * * * node /scripts/jd_club_lottery.js |ts >> /scripts/logs/jd_club_lottery.log 2>&1
# 东东农场
15 6-18/6 * * * node /scripts/jd_fruit.js |ts >> /scripts/logs/jd_fruit.log 2>&1
# 宠汪汪
45 */2,23 * * * node /scripts/jd_joy.js |ts >> /scripts/logs/jd_joy.log 2>&1
# 宠汪汪积分兑换京豆
0 0-16/8 * * * node /scripts/jd_joy_reward.js |ts >> /scripts/logs/jd_joy_reward.log 2>&1
# 宠汪汪喂食
35 */1 * * * node /scripts/jd_joy_feedPets.js |ts >> /scripts/logs/jd_joy_feedPets.log 2>&1
# 宠汪汪邀请助力
10 13-20/1 * * * node /scripts/jd_joy_run.js |ts >> /scripts/logs/jd_joy_run.log 2>&1
# 摇钱树
23 */2 * * * node /scripts/jd_moneyTree.js |ts >> /scripts/logs/jd_moneyTree.log 2>&1
# 东东萌宠
35 6-18/6 * * * node /scripts/jd_pet.js |ts >> /scripts/logs/jd_pet.log 2>&1
# 京东种豆得豆
10 7-22/1 * * * node /scripts/jd_plantBean.js |ts >> /scripts/logs/jd_plantBean.log 2>&1
# 京东全民开红包
12 1 * * * node /scripts/jd_redPacket.js |ts >> /scripts/logs/jd_redPacket.log 2>&1
# 进店领豆
6 0 * * * node /scripts/jd_shop.js |ts >> /scripts/logs/jd_shop.log 2>&1
# 京东天天加速
28 */3 * * * node /scripts/jd_speed.js |ts >> /scripts/logs/jd_speed.log 2>&1
# 东东超市
31 1-23/5 * * * node /scripts/jd_superMarket.js |ts >> /scripts/logs/jd_superMarket.log 2>&1
# 取关京东店铺商品
45 23 * * * node /scripts/jd_unsubscribe.js |ts >> /scripts/logs/jd_unsubscribe.log 2>&1
# 京豆变动通知
20 10 * * * node /scripts/jd_bean_change.js |ts >> /scripts/logs/jd_bean_change.log 2>&1
# 京东抽奖机
31 0,12,23 * * * node /scripts/jd_lotteryMachine.js |ts >> /scripts/logs/jd_lotteryMachine.log 2>&1
# 京东排行榜
21 9 * * * node /scripts/jd_rankingList.js |ts >> /scripts/logs/jd_rankingList.log 2>&1
# 天天提鹅
28 * * * * node /scripts/jd_daily_egg.js |ts >> /scripts/logs/jd_daily_egg.log 2>&1
# 金融养猪
25 * * * * node /scripts/jd_pigPet.js |ts >> /scripts/logs/jd_pigPet.log 2>&1
# 点点券
40 0,20 * * * node /scripts/jd_necklace.js |ts >> /scripts/logs/jd_necklace.log 2>&1
# 京喜工厂
50 * * * * node /scripts/jd_dreamFactory.js |ts >> /scripts/logs/jd_dreamFactory.log 2>&1
# 东东小窝
46 6,23 * * * node /scripts/jd_small_home.js |ts >> /scripts/logs/jd_small_home.log 2>&1
# 东东工厂
26 * * * * node /scripts/jd_jdfactory.js |ts >> /scripts/logs/jd_jdfactory.log 2>&1
# 十元街
12 8,18 * * * node /scripts/jd_syj.js |ts >> /scripts/logs/jd_syj.log 2>&1
# 京东快递签到
47 1 * * * node /scripts/jd_kd.js |ts >> /scripts/logs/jd_kd.log 2>&1
# 京东汽车(签到满500赛点可兑换500京豆)
0 0 * * * node /scripts/jd_car.js |ts >> /scripts/logs/jd_car.log 2>&1
# 领京豆额外奖励(每日可获得3京豆)
23 4 * * * node /scripts/jd_bean_home.js |ts >> /scripts/logs/jd_bean_home.log 2>&1
# 微信小程序京东赚赚
6 0,11 * * * node /scripts/jd_jdzz.js |ts >> /scripts/logs/jd_jdzz.log 2>&1
# crazyJoy自动每日任务
30 7,23 * * * node /scripts/jd_crazy_joy.js |ts >> /scripts/logs/jd_crazy_joy.log 2>&1
# 京东汽车旅程赛点兑换金豆
0 0 * * * node /scripts/jd_car_exchange.js |ts >> /scripts/logs/jd_car_exchange.log 2>&1
# 导到所有互助码
23 7 * * * node /scripts/jd_get_share_code.js |ts >> /scripts/logs/jd_get_share_code.log 2>&1
# 口袋书店
38 8,12,18 * * * node /scripts/jd_bookshop.js |ts >> /scripts/logs/jd_bookshop.log 2>&1
# 京喜农场
30 9,12,18 * * * node /scripts/jd_jxnc.js |ts >> /scripts/logs/jd_jxnc.log 2>&1
# 签到领现金
10 */4 * * * node /scripts/jd_cash.js |ts >> /scripts/logs/jd_cash.log 2>&1
# 京喜app签到
29 7 * * * node /scripts/jx_sign.js |ts >> /scripts/logs/jx_sign.log 2>&1
# 闪购盲盒
47 8 * * * node /scripts/jd_sgmh.js |ts >> /scripts/logs/jd_sgmh.log 2>&1
# 京东秒秒币
10 6 * * * node /scripts/jd_ms.js |ts >> /scripts/logs/jd_ms.log 2>&1
#美丽研究院
41 7,12,19 * * * node /scripts/jd_beauty.js |ts >> /scripts/logs/jd_beauty.log 2>&1
#京东保价
#41 0,23 * * * node /scripts/jd_price.js |ts >> /scripts/logs/jd_price.log 2>&1
#京东极速版签到+赚现金任务
21 1,6 * * * node /scripts/jd_speed_sign.js |ts >> /scripts/logs/jd_speed_sign.log 2>&1
#监控crazyJoy分红
10 12 * * * node /scripts/jd_crazy_joy_bonus.js |ts >> /scripts/logs/jd_crazy_joy_bonus.log 2>&1
#京喜财富岛
5 */2 * * * node /scripts/jd_cfd.js |ts >> /scripts/logs/jd_cfd.log 2>&1
# 删除优惠券(默认注释，如需要自己开启，如有误删，已删除的券可以在回收站中还原，慎用)
#20 9 * * 6 node /scripts/jd_delCoupon.js |ts >> /scripts/logs/jd_delCoupon.log 2>&1
#家庭号
10 6,7 * * * node /scripts/jd_family.js |ts >> /scripts/logs/jd_family.log 2>&1
#京东直播（又回来了）
30-50/5 12,23 * * * node /scripts/jd_live.js |ts >> /scripts/logs/jd_live.log 2>&1
#京小兑
13 8,16,20 * * * node /scripts/jd_jxd.js |ts >> /scripts/logs/jd_jxd.log 2>&1

##乘风破浪的姐姐
12 12 24-26 3 * node /scripts/z_sister.js |ts >> /scripts/logs/z_sister.logs 2>&1
##答题赢京豆
5 1 23-25 3 * node /scripts/z_grassy.js |ts >> /scripts/logs/z_grassy.logs 2>&1
##京东泡泡大战
3 0 * * * node /scripts/jd_paopao.js |ts >> /scripts/logs/jd_paopao.logs 2>&1
##京豆抽奖机
10 0-23/1 * * * node /scripts/jd_live_lottery_social.js |ts >> /scripts/logs/jd_live_lottery_social.logs 2>&1
##金口碑奖投票
5 10,11,12 * 3 * node /scripts/z_mgold.js |ts >> /scripts/logs/z_mgold.logs 2>&1
##5G超级盲盒
5 1,6,11,16,21 * 3-4 * node /scripts/z_super5g.js |ts >> /scripts/logs/z_super5g.logs 2>&1
##一加盲盒
11 12 17-30 3 * node /scripts/z_oneplus.js |ts >> /scripts/logs/z_oneplus.logs 2>&1
##联想集卡活动
12 15 15-29 3 * node /scripts/z_lenovo.js |ts >> /scripts/logs/z_lenovo.logs 2>&1
##超级品类日
13 8,10 8-15 3 * node /scripts/z_superDay.js |ts >> /scripts/logs/z_superDay.log 2>&1
##环球挑战赛
0 9,12,20,21 8-31 3 * node /scripts/jd_global.js |ts >> /scripts/logs/jd_global.log 2>&1
##京小兑
3 11,20 * * * node /scripts/jd_jxd.js |ts >> /scripts/logs/jd_jxd.log 2>&1
##京东小魔方
10 10 25-27 3 * node /scripts/z_xmf.js |ts >> /scripts/logs/z_xmf.log 2>&1
##跳一跳
5,50 8,14,20 25-31 3 * node /scripts/z_mother_jump.js |ts >> /scripts/logs/z_mother_jump.log 2>&1
##定制微信/支付宝运动步数
30 22 * * * node /scripts/xmSports.js |ts >> /scripts/logs/xmSports.log 2>&1
##粉丝互动
3 10 * * * node /scripts/jd_fanslove.js |ts >> /scripts/logs/jd_fanslove.log 2>&1
##华硕-爱奇艺
#1 0 22-28 2 * node /scripts/jd_asus_iqiyi.js |ts >> /scripts/logs/jd_asus_iqiyi.log 2>&1
##价格保护
5 0,10,12,20 * * * node /scripts/baojia.js |ts >> /scripts/logs/baojia.log 2>&1
##百变大咖秀
10 10,11 * * * node /scripts/jd_entertainment.js |ts >> /scripts/logs/jd_entertainment.log 2>&1
##东东-美丽颜究院
0 23,0 * * * node /scripts/jd_mlyjy.js |ts >> /scripts/logs/jd_mlyjy.log 2>&1
##摇一摇
3 20 * * * node /scripts/jd_shakeBean.js |ts >> /scripts/logs/jd_shakeBean.log 2>&1
##众筹许愿池
10 10 13-20 3 * node /scripts/z_wish.js |ts >> /scripts/logs/z_wish.log 2>&1
#沃尔玛粉丝互动
#3 10 17-28 2 * node /scripts/jd_walmart.js |ts >> /scripts/logs/jd_walmart.log 2>&1
##年货整点红包
#0 0,20-23 10-12 2 * node /scripts/jd_cxhb.js |ts >> /scripts/logs/jd_cxhb.log 2>&1
#
## 宝洁美发屋
#1 8,9 14-31/1 1 * node /scripts/jd_bj.js |ts >> /scripts/logs/jd_bj.log 2>&1
#
## 工业品爱消除
#20 * * * * node /scripts/jd_gyec.js |ts >> /scripts/logs/jd_gyec.log 2>&1
#
## 超级直播间红包雨
#30,31 20-23/1 2,5 3 * node /scripts/jd_live_redrain.js |ts >> /scripts/logs/jd_live_redrain.log 2>&1
#
## 直播间红包雨
#0,1 19-21/1 * * * node /scripts/jd_live_redrain2.js |ts >> /scripts/logs/jd_live_redrain2.log 2>&1
#
## 半点红包雨
#30,31 12-23/1 * * * node /scripts/jd_live_redrain_half.js |ts >> /scripts/logs/jd_live_redrain_half.log 2>&1
#
## 年货直播红包雨
#0 0,9,11,13,15,17,19,20,21,23 3,5,20-30/1 1,2 * node /scripts/jd_live_redrain_nian.js |ts >> /scripts/logs/jd_live_redrain_nian.log 2>&1
#
## 官方号直播红包雨
#0 0,9,11,13,15,17,19,20,21,22,23 * * * node /scripts/jd_live_redrain_offical.js |ts >> /scripts/logs/jd_live_redrain_offical.log 2>&1
#
## 盲盒抽京豆
#1 7 * * * node /scripts/jd_mh.js |ts >> /scripts/logs/jd_mh.log 2>&1
#
## 京东秒秒币
#10 7 * * * node /scripts/jd_ms.js |ts >> /scripts/logs/jd_ms.log 2>&1
#
## 海产新年抽奖
#10 7 * * * node /scripts/jd_sx.js |ts >> /scripts/logs/jd_sx.log 2>&1
#
## 京年团圆pick
#5 0 19,20 1 * node /scripts/jd_vote.js |ts >> /scripts/logs/jd_vote.log 2>&1
#
## 京东粉丝专享
#10 0 * * * node /scripts/jd_wechat_sign.js |ts >> /scripts/logs/jd_wechat_sign.log 2>&1
#
## 小鸽有礼
#5 7 * * * node /scripts/jd_xg.js |ts >> /scripts/logs/jd_xg.log 2>&1
#
## 东东爱消除
##0 * * * * node /scripts/jd_xxl.js |ts >> /scripts/logs/jd_xxl.log 2>&1
#
## 个护爱消除
##40 * * * * node /scripts/jd_xxl_gh.js |ts >> /scripts/logs/jd_xxl_gh.log 2>&1
#
## 京东手机年终奖
##30 9 * * * node /scripts/jd_festival.js  |ts >> /scripts/logs/jd_festival.log 2>&1

# 必须要的默认定时任务请勿删除
7 23 * * * docker_entrypoint.sh |ts >> /scripts/logs/default_task.log 2>&1
